home *** CD-ROM | disk | FTP | other *** search
- Path: newsbf02.news.aol.com!not-for-mail
- From: mmuratet@aol.com (MMuratet)
- Newsgroups: comp.os.ms-windows.programmer.tools.owl,comp.lang.c
- Subject: Re: How do I link a library to my program??
- Date: 24 Mar 1996 18:05:46 -0500
- Organization: America Online, Inc. (1-800-827-6364)
- Sender: root@newsbf02.news.aol.com
- Message-ID: <4j4kga$rtj@newsbf02.news.aol.com>
- References: <3143BFEE.167EB0E7@fnx.com.au>
- Reply-To: mmuratet@aol.com (MMuratet)
- NNTP-Posting-Host: newsbf02.mail.aol.com
-
- Greetings All,
-
- I have a set of routines in C (for random number generation) which I
- compiled
- using IDE with the target set to static library. The header has a
- conditional
- extern "C" on __cplusplus. It compiles and the library gets built. I then
- include
- this library into my C++ IDE project as a node, put calls to two routines
- in the
- C++ code, compile and link. The code compiles, but the two routines
- generate
- unknown symbol errors for the unresolved external. Any thoughts? Thanks.
- Mike
-